package za.co.dylanjaneke.airdownloader.controller
{
	import org.granite.tide.ITideModule;
	import org.granite.tide.Tide;
	
	import za.co.dylanjaneke.airdownloader.model.DayViewPM;
	import za.co.dylanjaneke.airdownloader.model.DownloadQueuePM;
	import za.co.dylanjaneke.airdownloader.model.HomeScreenPM;
	import za.co.dylanjaneke.airdownloader.model.ScreenNavigatorPM;
	import za.co.dylanjaneke.airdownloader.model.SettingsScreenPM;
	import za.co.dylanjaneke.airdownloader.model.StatusPM;
	import za.co.dylanjaneke.airdownloader.model.TrackerSettingsScreenPM;
	import za.co.dylanjaneke.airdownloader.model.WeekViewPM;
	
	/**
	 * Author: Dylan Janeke.
	 */
	public class PresentationModelModule implements ITideModule
	{
		public function init(tide:Tide):void
		{	
			tide.addComponent("screenNavigatorPM", ScreenNavigatorPM);
			tide.addComponent("settingsScreenPM", SettingsScreenPM);
			tide.addComponent("trackerSettingsScreenPM", TrackerSettingsScreenPM);
			tide.addComponent("statusPM", StatusPM);
			tide.addComponent("homeScreenPM", HomeScreenPM);
			tide.addComponent("weekViewPM", WeekViewPM);
			tide.addComponent("dayViewPM", DayViewPM);
			tide.addComponent("downloadQueuePM", DownloadQueuePM);
		}
	}
}